package com.ayf.payment.game.api.mapper.platform;

import com.ayf.payment.game.api.entity.platform.PaymentChannelRate;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface PaymentChannelRateMapper extends Mapper<PaymentChannelRate> {

    List<PaymentChannelRate> getPaymentChannelRateByChannelId(@Param("paymentChannelId") int paymentChannelId);

    void updatePaymentChannelRate(@Param("pcr") PaymentChannelRate pcr);

    void delPaymentChannelRate(@Param("paymentChannelId") int paymentChannelId);

    void updatePaymentChannelRateStatus(@Param("pcr") PaymentChannelRate pcr);

    void insertPaymentChannelRate(@Param("pcr") PaymentChannelRate pcr);

    PaymentChannelRate getPaymentChannelRate(@Param("pcr") PaymentChannelRate pcr);
}